/**
 * 企业管理 - 系统配置路由
 */
import Layout from '@/layout'

// 基础数据路由
const sysEnterpriseRoutes = {
  path: '/enterprise',
  component: Layout,
  redirect: '/enterprise/sysEnterprise',
  name: '企业管理',
  meta: {
    title: '企业管理',
    icon: 'example',
    rightsKey: '/enterprise'
  },
  children: [
    {
      path: 'sysEnterprise',
      meta: { title: '企业管理', rightsKey: '/enterprise/sysEnterprise' },
      name: 'sysEnterprise',
      component: () => import('@/views/enterprise/sysEnterprise')
    }, {
      path: 'updateEnterprise',
      meta: { title: '编辑企业', hidden: true },
      name: 'UpdateEnterprise',
      component: () => import('@/views/enterprise/saveAndEditSysEnterprise')
    }
  ]
}
export { sysEnterpriseRoutes }
